package
{
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	
	public class TileManager extends EventDispatcher
	{
		private static var _instance:TileManager;
		private var _model:TileModel;
		
		public static function get instance():TileManager
		{
			if(!_instance)_instance = new TileManager();
			
			return _instance;
		}
		
		public function TileManager(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public function get model():TileModel
		{
			if(!_model)_model = new TileModel();
			
			return _model;
		}
	}
}